//
//  TabBar.h
//  OrderSys
//
//  Created by JM on 15-9-22.
//  Copyright (c) 2015年 zjlskj. All rights reserved.
//

#import <UIKit/UIKit.h>
@class TabBar;

@protocol TabBarDelegate <NSObject>

@optional
- (void)tabBar:(TabBar *)tabBar didSelectedIndex:(int)index;

@end
@interface TabBar : UIView
@property (nonatomic, weak) id<TabBarDelegate> delegate;
//给外界创建按钮
- (void)addTabBarButtonWithName:(NSString *)name selName:(NSString *)sel;
@end
